package com.liu.messageQueue.service;

/**
 * @author liuxinghong
 * @Description: 发送rabbitMq消息
 * @date 2019/6/19 001911:22
 */

public interface RabbitMQSendService {


    /**
     * 发送延迟队列
     */
     void sendDelayedMessage(String delayedExchange, String delayedQueueName, Integer delayed, Object message);

    /**
     * 发送普通消息队列
     * @param message
     */
     void  sendMessage(String msgSendExchangeName, String msgSendQueueName, Object message);
}
